package com.dmap.admin.service.backgroundv1;

import com.dmap.admin.controller.background.param.RoleParam;
import com.dmap.admin.po.AdminRole;

import java.util.List;

/**
 * \* User: silent
 * \* Date: 08/12/17 Time: 11:02
 * \* Description:
 * \
 */
public interface RoleService {

    List<AdminRole> selectRoleList();

    AdminRole selectRoleById(long roleId);

    AdminRole insert(RoleParam param);

    AdminRole update(RoleParam param);

    boolean delete(Long id);
}
